package com.hgsoft.pubsv.component.base.execption;

/**
 * 接口编码异常
 *
 * @author saint
 */
public class ApiCodeException extends RuntimeException {

    private String code;
    private String msg;

    public ApiCodeException(String code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
